setCollapseIcon

Set the icon to use for the toolbar's collapse button.

The collapse button appears at the start of the toolbar when an action view is present .

Parameters

resId

Resource ID of a drawable to set collapseIcon


open fun setCollapseIcon(@Nullable icon: @Nullable Drawable)(source)

Set the icon to use for the toolbar's collapse button.

The collapse button appears at the start of the toolbar when an action view is present .

Parameters

icon

Drawable to set, may be null to use the default icon collapseIcon